package com.itheima.zy;


import java.util.Random;
import java.util.Scanner;

public class Test9 {
    public static void main(String[] args) {
        Random rand = new Random();
        int num = rand.nextInt(100)+1;
        System.out.println("输入数据：");
        Scanner sc = new Scanner(System.in);
        while (true){
            int num1 = sc.nextInt();
            if (num > num1) {
                System.out.println("小");
            }else if (num < num1) {
                System.out.println("大");
            }else {
                System.out.println("对");
                break;
            }
        }



    }
}
